package gwtappcontainer.client.apps.videos;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasHTML;
import com.google.gwt.user.client.ui.Widget;

public class VideoView extends Composite implements VideoPresenter.IView {

	private static MainViewUiBinder uiBinder = GWT
			.create(MainViewUiBinder.class);

	interface MainViewUiBinder extends UiBinder<Widget, VideoView> {
	}

	VideoView() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@UiField HTML title;
	@UiField HTML description;
	
	@UiField HTML videoFrame;	
	@UiField HTML appeal;
	
	@Override
	public HasHTML getTitleHtml() {		
		return title;
	}
	@Override
	public HasHTML getDescHtml() {
		return description;
	}
	@Override
	public HasHTML getVideoFrameHtml() {
		return videoFrame;
	}
	@Override
	public HasHTML getAppealHtml() {
		return appeal;
	}		
}
